package com.corejava.training.encapsulation;

import Corejava.com.Bicycle;

public class BikeDemo {

	
	public static void main(String[] args) {
		Bicycle bi = new Bicycle("NEXT", false);

		System.out.println("The brand is: " + bi.getBrand());
		System.out.println("Has gear: " + bi.isHasGear());

		bi.setColor("Red");
		System.out.println("bike color is: " + bi.getColor());

		bi.setProductOf("China");
		System.out.println("It's made in: " + bi.getProductOf());

		bi.setSizeOfBike(28);
		System.out.println("The size of the bike is: " + bi.getSizeOfBike()
				+ " inch");

	}

}
